import request from '@/utils/request'

// 获取员工列表
export const userList = (params) => {
  return request({
    url: '/user/list',
    method: 'get',
    params
  })
}
// 新增用户
export const userAdd = (data) => {
  return request({
    url: '/user/add',
    method: 'post',
    data
  })
}
